/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.titanium.model.entity;

/**
 * This class represents an user in Titanium 4.
 *
 * @author Daniel Barcellos
 */
public class Users extends TitaniumEntity{

    private String name;
    private String email;
    private String login;
    private String password;
    private String externalCode;
    private Boolean active;

    public Boolean getActive() {
        return active;
    }

    public void setActive(Boolean active) {
        this.active = active;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getExternalCode() {
        return externalCode;
    }

    public void setExternalCode(String externalCode) {
        this.externalCode = externalCode;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Users{" + "id=" + super.getId() + "name=" + name + "email=" + email + "login=" + login + "password=" + password + "externalCode=" + externalCode + "active=" + active + '}';
    }

}
